<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<h1> hello.world</h1>
<div th:text="${user.usrName}">默认值</div>
<hr>
<div>
    <a th:if="${user.usrName=='hlliu'}" th:href="@{http://www.baidu.com}">sdfsadfasdfsad</a>

</div>
</html>